﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace videoTest
{
    /// <summary>
    /// Interaction logic for armControll.xaml
    /// </summary>
    public partial class armControll : Window
    {
        fezConnect fez = new fezConnect();

        public armControll()
        {
            InitializeComponent();
        }

        private void carControl_Click(object sender, RoutedEventArgs e)
        {
            fez.Dispose();
            var moveWindow = new MainWindow();
            moveWindow.Show();
            this.Close();
        }

        private void Window_Closing_1(object sender, System.ComponentModel.CancelEventArgs e)
        {
            fez.Dispose();
            var moveWindow = new MainWindow();
            moveWindow.Show();
           

        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            
        }
    }
}
